package org.example.myleet.p698;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(solution.canPartitionKSubsets(new int[]{4, 3, 2, 3, 5, 2, 1}, 4));
        Assert.isTrue(!solution.canPartitionKSubsets(new int[]{1,2,3,4}, 3));
        Assert.isTrue(solution.canPartitionKSubsets(new int[]{1,2,3,4}, 2));
        Assert.isTrue(solution.canPartitionKSubsets(new int[]{1,2,3,4}, 1));
    }
}
